// import request from '@/app/appcommon/utils/request'
import request from '@/app/appcommon/utils/request-flask-token'
function updateNetValue() {
    return request({
        // url: '/login',
        url: '/api/finace/update_nv',
        method: 'get',
    })
}
function updateSingleFundNetValue(code:string) {
    return request({
        // url: '/login',
        url: `/api/finace/update_single_nv?code=${code}`,
        method: 'get',
    })
}


function getNowFund(user:string) {
    return request({
        // url: '/login',
        url: `/api/finace/get_now_fund?user=${user}`,
        method: 'get',
    })
}


export {
    updateNetValue,
    getNowFund,
}